package com.jhgk.jhcee.auth.model;

import java.util.ArrayList;
import java.util.List;

public class AdvancedBatchExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AdvancedBatchExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andYearIsNull() {
            addCriterion("year is null");
            return (Criteria) this;
        }

        public Criteria andYearIsNotNull() {
            addCriterion("year is not null");
            return (Criteria) this;
        }

        public Criteria andYearEqualTo(Integer value) {
            addCriterion("year =", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotEqualTo(Integer value) {
            addCriterion("year <>", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThan(Integer value) {
            addCriterion("year >", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThanOrEqualTo(Integer value) {
            addCriterion("year >=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThan(Integer value) {
            addCriterion("year <", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThanOrEqualTo(Integer value) {
            addCriterion("year <=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearIn(List<Integer> values) {
            addCriterion("year in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotIn(List<Integer> values) {
            addCriterion("year not in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearBetween(Integer value1, Integer value2) {
            addCriterion("year between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotBetween(Integer value1, Integer value2) {
            addCriterion("year not between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andProvinceUuidIsNull() {
            addCriterion("province_uuid is null");
            return (Criteria) this;
        }

        public Criteria andProvinceUuidIsNotNull() {
            addCriterion("province_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceUuidEqualTo(String value) {
            addCriterion("province_uuid =", value, "provinceUuid");
            return (Criteria) this;
        }

        public Criteria andProvinceUuidNotEqualTo(String value) {
            addCriterion("province_uuid <>", value, "provinceUuid");
            return (Criteria) this;
        }

        public Criteria andProvinceUuidGreaterThan(String value) {
            addCriterion("province_uuid >", value, "provinceUuid");
            return (Criteria) this;
        }

        public Criteria andProvinceUuidGreaterThanOrEqualTo(String value) {
            addCriterion("province_uuid >=", value, "provinceUuid");
            return (Criteria) this;
        }

        public Criteria andProvinceUuidLessThan(String value) {
            addCriterion("province_uuid <", value, "provinceUuid");
            return (Criteria) this;
        }

        public Criteria andProvinceUuidLessThanOrEqualTo(String value) {
            addCriterion("province_uuid <=", value, "provinceUuid");
            return (Criteria) this;
        }

        public Criteria andProvinceUuidLike(String value) {
            addCriterion("province_uuid like", value, "provinceUuid");
            return (Criteria) this;
        }

        public Criteria andProvinceUuidNotLike(String value) {
            addCriterion("province_uuid not like", value, "provinceUuid");
            return (Criteria) this;
        }

        public Criteria andProvinceUuidIn(List<String> values) {
            addCriterion("province_uuid in", values, "provinceUuid");
            return (Criteria) this;
        }

        public Criteria andProvinceUuidNotIn(List<String> values) {
            addCriterion("province_uuid not in", values, "provinceUuid");
            return (Criteria) this;
        }

        public Criteria andProvinceUuidBetween(String value1, String value2) {
            addCriterion("province_uuid between", value1, value2, "provinceUuid");
            return (Criteria) this;
        }

        public Criteria andProvinceUuidNotBetween(String value1, String value2) {
            addCriterion("province_uuid not between", value1, value2, "provinceUuid");
            return (Criteria) this;
        }

        public Criteria andSubjectIsNull() {
            addCriterion("subject is null");
            return (Criteria) this;
        }

        public Criteria andSubjectIsNotNull() {
            addCriterion("subject is not null");
            return (Criteria) this;
        }

        public Criteria andSubjectEqualTo(String value) {
            addCriterion("subject =", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotEqualTo(String value) {
            addCriterion("subject <>", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectGreaterThan(String value) {
            addCriterion("subject >", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectGreaterThanOrEqualTo(String value) {
            addCriterion("subject >=", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLessThan(String value) {
            addCriterion("subject <", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLessThanOrEqualTo(String value) {
            addCriterion("subject <=", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLike(String value) {
            addCriterion("subject like", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotLike(String value) {
            addCriterion("subject not like", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectIn(List<String> values) {
            addCriterion("subject in", values, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotIn(List<String> values) {
            addCriterion("subject not in", values, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectBetween(String value1, String value2) {
            addCriterion("subject between", value1, value2, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotBetween(String value1, String value2) {
            addCriterion("subject not between", value1, value2, "subject");
            return (Criteria) this;
        }

        public Criteria andRecruitTypeIsNull() {
            addCriterion("recruit_type is null");
            return (Criteria) this;
        }

        public Criteria andRecruitTypeIsNotNull() {
            addCriterion("recruit_type is not null");
            return (Criteria) this;
        }

        public Criteria andRecruitTypeEqualTo(String value) {
            addCriterion("recruit_type =", value, "recruitType");
            return (Criteria) this;
        }

        public Criteria andRecruitTypeNotEqualTo(String value) {
            addCriterion("recruit_type <>", value, "recruitType");
            return (Criteria) this;
        }

        public Criteria andRecruitTypeGreaterThan(String value) {
            addCriterion("recruit_type >", value, "recruitType");
            return (Criteria) this;
        }

        public Criteria andRecruitTypeGreaterThanOrEqualTo(String value) {
            addCriterion("recruit_type >=", value, "recruitType");
            return (Criteria) this;
        }

        public Criteria andRecruitTypeLessThan(String value) {
            addCriterion("recruit_type <", value, "recruitType");
            return (Criteria) this;
        }

        public Criteria andRecruitTypeLessThanOrEqualTo(String value) {
            addCriterion("recruit_type <=", value, "recruitType");
            return (Criteria) this;
        }

        public Criteria andRecruitTypeLike(String value) {
            addCriterion("recruit_type like", value, "recruitType");
            return (Criteria) this;
        }

        public Criteria andRecruitTypeNotLike(String value) {
            addCriterion("recruit_type not like", value, "recruitType");
            return (Criteria) this;
        }

        public Criteria andRecruitTypeIn(List<String> values) {
            addCriterion("recruit_type in", values, "recruitType");
            return (Criteria) this;
        }

        public Criteria andRecruitTypeNotIn(List<String> values) {
            addCriterion("recruit_type not in", values, "recruitType");
            return (Criteria) this;
        }

        public Criteria andRecruitTypeBetween(String value1, String value2) {
            addCriterion("recruit_type between", value1, value2, "recruitType");
            return (Criteria) this;
        }

        public Criteria andRecruitTypeNotBetween(String value1, String value2) {
            addCriterion("recruit_type not between", value1, value2, "recruitType");
            return (Criteria) this;
        }

        public Criteria andBatchUuidIsNull() {
            addCriterion("batch_uuid is null");
            return (Criteria) this;
        }

        public Criteria andBatchUuidIsNotNull() {
            addCriterion("batch_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andBatchUuidEqualTo(String value) {
            addCriterion("batch_uuid =", value, "batchUuid");
            return (Criteria) this;
        }

        public Criteria andBatchUuidNotEqualTo(String value) {
            addCriterion("batch_uuid <>", value, "batchUuid");
            return (Criteria) this;
        }

        public Criteria andBatchUuidGreaterThan(String value) {
            addCriterion("batch_uuid >", value, "batchUuid");
            return (Criteria) this;
        }

        public Criteria andBatchUuidGreaterThanOrEqualTo(String value) {
            addCriterion("batch_uuid >=", value, "batchUuid");
            return (Criteria) this;
        }

        public Criteria andBatchUuidLessThan(String value) {
            addCriterion("batch_uuid <", value, "batchUuid");
            return (Criteria) this;
        }

        public Criteria andBatchUuidLessThanOrEqualTo(String value) {
            addCriterion("batch_uuid <=", value, "batchUuid");
            return (Criteria) this;
        }

        public Criteria andBatchUuidLike(String value) {
            addCriterion("batch_uuid like", value, "batchUuid");
            return (Criteria) this;
        }

        public Criteria andBatchUuidNotLike(String value) {
            addCriterion("batch_uuid not like", value, "batchUuid");
            return (Criteria) this;
        }

        public Criteria andBatchUuidIn(List<String> values) {
            addCriterion("batch_uuid in", values, "batchUuid");
            return (Criteria) this;
        }

        public Criteria andBatchUuidNotIn(List<String> values) {
            addCriterion("batch_uuid not in", values, "batchUuid");
            return (Criteria) this;
        }

        public Criteria andBatchUuidBetween(String value1, String value2) {
            addCriterion("batch_uuid between", value1, value2, "batchUuid");
            return (Criteria) this;
        }

        public Criteria andBatchUuidNotBetween(String value1, String value2) {
            addCriterion("batch_uuid not between", value1, value2, "batchUuid");
            return (Criteria) this;
        }

        public Criteria andRecruitCodeIsNull() {
            addCriterion("recruit_code is null");
            return (Criteria) this;
        }

        public Criteria andRecruitCodeIsNotNull() {
            addCriterion("recruit_code is not null");
            return (Criteria) this;
        }

        public Criteria andRecruitCodeEqualTo(String value) {
            addCriterion("recruit_code =", value, "recruitCode");
            return (Criteria) this;
        }

        public Criteria andRecruitCodeNotEqualTo(String value) {
            addCriterion("recruit_code <>", value, "recruitCode");
            return (Criteria) this;
        }

        public Criteria andRecruitCodeGreaterThan(String value) {
            addCriterion("recruit_code >", value, "recruitCode");
            return (Criteria) this;
        }

        public Criteria andRecruitCodeGreaterThanOrEqualTo(String value) {
            addCriterion("recruit_code >=", value, "recruitCode");
            return (Criteria) this;
        }

        public Criteria andRecruitCodeLessThan(String value) {
            addCriterion("recruit_code <", value, "recruitCode");
            return (Criteria) this;
        }

        public Criteria andRecruitCodeLessThanOrEqualTo(String value) {
            addCriterion("recruit_code <=", value, "recruitCode");
            return (Criteria) this;
        }

        public Criteria andRecruitCodeLike(String value) {
            addCriterion("recruit_code like", value, "recruitCode");
            return (Criteria) this;
        }

        public Criteria andRecruitCodeNotLike(String value) {
            addCriterion("recruit_code not like", value, "recruitCode");
            return (Criteria) this;
        }

        public Criteria andRecruitCodeIn(List<String> values) {
            addCriterion("recruit_code in", values, "recruitCode");
            return (Criteria) this;
        }

        public Criteria andRecruitCodeNotIn(List<String> values) {
            addCriterion("recruit_code not in", values, "recruitCode");
            return (Criteria) this;
        }

        public Criteria andRecruitCodeBetween(String value1, String value2) {
            addCriterion("recruit_code between", value1, value2, "recruitCode");
            return (Criteria) this;
        }

        public Criteria andRecruitCodeNotBetween(String value1, String value2) {
            addCriterion("recruit_code not between", value1, value2, "recruitCode");
            return (Criteria) this;
        }

        public Criteria andSchoolNameIsNull() {
            addCriterion("school_name is null");
            return (Criteria) this;
        }

        public Criteria andSchoolNameIsNotNull() {
            addCriterion("school_name is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolNameEqualTo(String value) {
            addCriterion("school_name =", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotEqualTo(String value) {
            addCriterion("school_name <>", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameGreaterThan(String value) {
            addCriterion("school_name >", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameGreaterThanOrEqualTo(String value) {
            addCriterion("school_name >=", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameLessThan(String value) {
            addCriterion("school_name <", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameLessThanOrEqualTo(String value) {
            addCriterion("school_name <=", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameLike(String value) {
            addCriterion("school_name like", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotLike(String value) {
            addCriterion("school_name not like", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameIn(List<String> values) {
            addCriterion("school_name in", values, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotIn(List<String> values) {
            addCriterion("school_name not in", values, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameBetween(String value1, String value2) {
            addCriterion("school_name between", value1, value2, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotBetween(String value1, String value2) {
            addCriterion("school_name not between", value1, value2, "schoolName");
            return (Criteria) this;
        }

        public Criteria andRecruitNumberIsNull() {
            addCriterion("recruit_number is null");
            return (Criteria) this;
        }

        public Criteria andRecruitNumberIsNotNull() {
            addCriterion("recruit_number is not null");
            return (Criteria) this;
        }

        public Criteria andRecruitNumberEqualTo(Integer value) {
            addCriterion("recruit_number =", value, "recruitNumber");
            return (Criteria) this;
        }

        public Criteria andRecruitNumberNotEqualTo(Integer value) {
            addCriterion("recruit_number <>", value, "recruitNumber");
            return (Criteria) this;
        }

        public Criteria andRecruitNumberGreaterThan(Integer value) {
            addCriterion("recruit_number >", value, "recruitNumber");
            return (Criteria) this;
        }

        public Criteria andRecruitNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("recruit_number >=", value, "recruitNumber");
            return (Criteria) this;
        }

        public Criteria andRecruitNumberLessThan(Integer value) {
            addCriterion("recruit_number <", value, "recruitNumber");
            return (Criteria) this;
        }

        public Criteria andRecruitNumberLessThanOrEqualTo(Integer value) {
            addCriterion("recruit_number <=", value, "recruitNumber");
            return (Criteria) this;
        }

        public Criteria andRecruitNumberIn(List<Integer> values) {
            addCriterion("recruit_number in", values, "recruitNumber");
            return (Criteria) this;
        }

        public Criteria andRecruitNumberNotIn(List<Integer> values) {
            addCriterion("recruit_number not in", values, "recruitNumber");
            return (Criteria) this;
        }

        public Criteria andRecruitNumberBetween(Integer value1, Integer value2) {
            addCriterion("recruit_number between", value1, value2, "recruitNumber");
            return (Criteria) this;
        }

        public Criteria andRecruitNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("recruit_number not between", value1, value2, "recruitNumber");
            return (Criteria) this;
        }

        public Criteria andActualEnrollmentIsNull() {
            addCriterion("actual_enrollment is null");
            return (Criteria) this;
        }

        public Criteria andActualEnrollmentIsNotNull() {
            addCriterion("actual_enrollment is not null");
            return (Criteria) this;
        }

        public Criteria andActualEnrollmentEqualTo(Integer value) {
            addCriterion("actual_enrollment =", value, "actualEnrollment");
            return (Criteria) this;
        }

        public Criteria andActualEnrollmentNotEqualTo(Integer value) {
            addCriterion("actual_enrollment <>", value, "actualEnrollment");
            return (Criteria) this;
        }

        public Criteria andActualEnrollmentGreaterThan(Integer value) {
            addCriterion("actual_enrollment >", value, "actualEnrollment");
            return (Criteria) this;
        }

        public Criteria andActualEnrollmentGreaterThanOrEqualTo(Integer value) {
            addCriterion("actual_enrollment >=", value, "actualEnrollment");
            return (Criteria) this;
        }

        public Criteria andActualEnrollmentLessThan(Integer value) {
            addCriterion("actual_enrollment <", value, "actualEnrollment");
            return (Criteria) this;
        }

        public Criteria andActualEnrollmentLessThanOrEqualTo(Integer value) {
            addCriterion("actual_enrollment <=", value, "actualEnrollment");
            return (Criteria) this;
        }

        public Criteria andActualEnrollmentIn(List<Integer> values) {
            addCriterion("actual_enrollment in", values, "actualEnrollment");
            return (Criteria) this;
        }

        public Criteria andActualEnrollmentNotIn(List<Integer> values) {
            addCriterion("actual_enrollment not in", values, "actualEnrollment");
            return (Criteria) this;
        }

        public Criteria andActualEnrollmentBetween(Integer value1, Integer value2) {
            addCriterion("actual_enrollment between", value1, value2, "actualEnrollment");
            return (Criteria) this;
        }

        public Criteria andActualEnrollmentNotBetween(Integer value1, Integer value2) {
            addCriterion("actual_enrollment not between", value1, value2, "actualEnrollment");
            return (Criteria) this;
        }

        public Criteria andBatchScoreIsNull() {
            addCriterion("batch_score is null");
            return (Criteria) this;
        }

        public Criteria andBatchScoreIsNotNull() {
            addCriterion("batch_score is not null");
            return (Criteria) this;
        }

        public Criteria andBatchScoreEqualTo(Integer value) {
            addCriterion("batch_score =", value, "batchScore");
            return (Criteria) this;
        }

        public Criteria andBatchScoreNotEqualTo(Integer value) {
            addCriterion("batch_score <>", value, "batchScore");
            return (Criteria) this;
        }

        public Criteria andBatchScoreGreaterThan(Integer value) {
            addCriterion("batch_score >", value, "batchScore");
            return (Criteria) this;
        }

        public Criteria andBatchScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("batch_score >=", value, "batchScore");
            return (Criteria) this;
        }

        public Criteria andBatchScoreLessThan(Integer value) {
            addCriterion("batch_score <", value, "batchScore");
            return (Criteria) this;
        }

        public Criteria andBatchScoreLessThanOrEqualTo(Integer value) {
            addCriterion("batch_score <=", value, "batchScore");
            return (Criteria) this;
        }

        public Criteria andBatchScoreIn(List<Integer> values) {
            addCriterion("batch_score in", values, "batchScore");
            return (Criteria) this;
        }

        public Criteria andBatchScoreNotIn(List<Integer> values) {
            addCriterion("batch_score not in", values, "batchScore");
            return (Criteria) this;
        }

        public Criteria andBatchScoreBetween(Integer value1, Integer value2) {
            addCriterion("batch_score between", value1, value2, "batchScore");
            return (Criteria) this;
        }

        public Criteria andBatchScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("batch_score not between", value1, value2, "batchScore");
            return (Criteria) this;
        }

        public Criteria andDiaodangFractionIsNull() {
            addCriterion("diaodang_fraction is null");
            return (Criteria) this;
        }

        public Criteria andDiaodangFractionIsNotNull() {
            addCriterion("diaodang_fraction is not null");
            return (Criteria) this;
        }

        public Criteria andDiaodangFractionEqualTo(Integer value) {
            addCriterion("diaodang_fraction =", value, "diaodangFraction");
            return (Criteria) this;
        }

        public Criteria andDiaodangFractionNotEqualTo(Integer value) {
            addCriterion("diaodang_fraction <>", value, "diaodangFraction");
            return (Criteria) this;
        }

        public Criteria andDiaodangFractionGreaterThan(Integer value) {
            addCriterion("diaodang_fraction >", value, "diaodangFraction");
            return (Criteria) this;
        }

        public Criteria andDiaodangFractionGreaterThanOrEqualTo(Integer value) {
            addCriterion("diaodang_fraction >=", value, "diaodangFraction");
            return (Criteria) this;
        }

        public Criteria andDiaodangFractionLessThan(Integer value) {
            addCriterion("diaodang_fraction <", value, "diaodangFraction");
            return (Criteria) this;
        }

        public Criteria andDiaodangFractionLessThanOrEqualTo(Integer value) {
            addCriterion("diaodang_fraction <=", value, "diaodangFraction");
            return (Criteria) this;
        }

        public Criteria andDiaodangFractionIn(List<Integer> values) {
            addCriterion("diaodang_fraction in", values, "diaodangFraction");
            return (Criteria) this;
        }

        public Criteria andDiaodangFractionNotIn(List<Integer> values) {
            addCriterion("diaodang_fraction not in", values, "diaodangFraction");
            return (Criteria) this;
        }

        public Criteria andDiaodangFractionBetween(Integer value1, Integer value2) {
            addCriterion("diaodang_fraction between", value1, value2, "diaodangFraction");
            return (Criteria) this;
        }

        public Criteria andDiaodangFractionNotBetween(Integer value1, Integer value2) {
            addCriterion("diaodang_fraction not between", value1, value2, "diaodangFraction");
            return (Criteria) this;
        }

        public Criteria andMinScoreIsNull() {
            addCriterion("min_score is null");
            return (Criteria) this;
        }

        public Criteria andMinScoreIsNotNull() {
            addCriterion("min_score is not null");
            return (Criteria) this;
        }

        public Criteria andMinScoreEqualTo(Integer value) {
            addCriterion("min_score =", value, "minScore");
            return (Criteria) this;
        }

        public Criteria andMinScoreNotEqualTo(Integer value) {
            addCriterion("min_score <>", value, "minScore");
            return (Criteria) this;
        }

        public Criteria andMinScoreGreaterThan(Integer value) {
            addCriterion("min_score >", value, "minScore");
            return (Criteria) this;
        }

        public Criteria andMinScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("min_score >=", value, "minScore");
            return (Criteria) this;
        }

        public Criteria andMinScoreLessThan(Integer value) {
            addCriterion("min_score <", value, "minScore");
            return (Criteria) this;
        }

        public Criteria andMinScoreLessThanOrEqualTo(Integer value) {
            addCriterion("min_score <=", value, "minScore");
            return (Criteria) this;
        }

        public Criteria andMinScoreIn(List<Integer> values) {
            addCriterion("min_score in", values, "minScore");
            return (Criteria) this;
        }

        public Criteria andMinScoreNotIn(List<Integer> values) {
            addCriterion("min_score not in", values, "minScore");
            return (Criteria) this;
        }

        public Criteria andMinScoreBetween(Integer value1, Integer value2) {
            addCriterion("min_score between", value1, value2, "minScore");
            return (Criteria) this;
        }

        public Criteria andMinScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("min_score not between", value1, value2, "minScore");
            return (Criteria) this;
        }

        public Criteria andAverageScoreIsNull() {
            addCriterion("average_score is null");
            return (Criteria) this;
        }

        public Criteria andAverageScoreIsNotNull() {
            addCriterion("average_score is not null");
            return (Criteria) this;
        }

        public Criteria andAverageScoreEqualTo(Integer value) {
            addCriterion("average_score =", value, "averageScore");
            return (Criteria) this;
        }

        public Criteria andAverageScoreNotEqualTo(Integer value) {
            addCriterion("average_score <>", value, "averageScore");
            return (Criteria) this;
        }

        public Criteria andAverageScoreGreaterThan(Integer value) {
            addCriterion("average_score >", value, "averageScore");
            return (Criteria) this;
        }

        public Criteria andAverageScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("average_score >=", value, "averageScore");
            return (Criteria) this;
        }

        public Criteria andAverageScoreLessThan(Integer value) {
            addCriterion("average_score <", value, "averageScore");
            return (Criteria) this;
        }

        public Criteria andAverageScoreLessThanOrEqualTo(Integer value) {
            addCriterion("average_score <=", value, "averageScore");
            return (Criteria) this;
        }

        public Criteria andAverageScoreIn(List<Integer> values) {
            addCriterion("average_score in", values, "averageScore");
            return (Criteria) this;
        }

        public Criteria andAverageScoreNotIn(List<Integer> values) {
            addCriterion("average_score not in", values, "averageScore");
            return (Criteria) this;
        }

        public Criteria andAverageScoreBetween(Integer value1, Integer value2) {
            addCriterion("average_score between", value1, value2, "averageScore");
            return (Criteria) this;
        }

        public Criteria andAverageScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("average_score not between", value1, value2, "averageScore");
            return (Criteria) this;
        }

        public Criteria andSchoolExplainIsNull() {
            addCriterion("school_explain is null");
            return (Criteria) this;
        }

        public Criteria andSchoolExplainIsNotNull() {
            addCriterion("school_explain is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolExplainEqualTo(String value) {
            addCriterion("school_explain =", value, "schoolExplain");
            return (Criteria) this;
        }

        public Criteria andSchoolExplainNotEqualTo(String value) {
            addCriterion("school_explain <>", value, "schoolExplain");
            return (Criteria) this;
        }

        public Criteria andSchoolExplainGreaterThan(String value) {
            addCriterion("school_explain >", value, "schoolExplain");
            return (Criteria) this;
        }

        public Criteria andSchoolExplainGreaterThanOrEqualTo(String value) {
            addCriterion("school_explain >=", value, "schoolExplain");
            return (Criteria) this;
        }

        public Criteria andSchoolExplainLessThan(String value) {
            addCriterion("school_explain <", value, "schoolExplain");
            return (Criteria) this;
        }

        public Criteria andSchoolExplainLessThanOrEqualTo(String value) {
            addCriterion("school_explain <=", value, "schoolExplain");
            return (Criteria) this;
        }

        public Criteria andSchoolExplainLike(String value) {
            addCriterion("school_explain like", value, "schoolExplain");
            return (Criteria) this;
        }

        public Criteria andSchoolExplainNotLike(String value) {
            addCriterion("school_explain not like", value, "schoolExplain");
            return (Criteria) this;
        }

        public Criteria andSchoolExplainIn(List<String> values) {
            addCriterion("school_explain in", values, "schoolExplain");
            return (Criteria) this;
        }

        public Criteria andSchoolExplainNotIn(List<String> values) {
            addCriterion("school_explain not in", values, "schoolExplain");
            return (Criteria) this;
        }

        public Criteria andSchoolExplainBetween(String value1, String value2) {
            addCriterion("school_explain between", value1, value2, "schoolExplain");
            return (Criteria) this;
        }

        public Criteria andSchoolExplainNotBetween(String value1, String value2) {
            addCriterion("school_explain not between", value1, value2, "schoolExplain");
            return (Criteria) this;
        }

        public Criteria andSchoolRemarkIsNull() {
            addCriterion("school_remark is null");
            return (Criteria) this;
        }

        public Criteria andSchoolRemarkIsNotNull() {
            addCriterion("school_remark is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolRemarkEqualTo(String value) {
            addCriterion("school_remark =", value, "schoolRemark");
            return (Criteria) this;
        }

        public Criteria andSchoolRemarkNotEqualTo(String value) {
            addCriterion("school_remark <>", value, "schoolRemark");
            return (Criteria) this;
        }

        public Criteria andSchoolRemarkGreaterThan(String value) {
            addCriterion("school_remark >", value, "schoolRemark");
            return (Criteria) this;
        }

        public Criteria andSchoolRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("school_remark >=", value, "schoolRemark");
            return (Criteria) this;
        }

        public Criteria andSchoolRemarkLessThan(String value) {
            addCriterion("school_remark <", value, "schoolRemark");
            return (Criteria) this;
        }

        public Criteria andSchoolRemarkLessThanOrEqualTo(String value) {
            addCriterion("school_remark <=", value, "schoolRemark");
            return (Criteria) this;
        }

        public Criteria andSchoolRemarkLike(String value) {
            addCriterion("school_remark like", value, "schoolRemark");
            return (Criteria) this;
        }

        public Criteria andSchoolRemarkNotLike(String value) {
            addCriterion("school_remark not like", value, "schoolRemark");
            return (Criteria) this;
        }

        public Criteria andSchoolRemarkIn(List<String> values) {
            addCriterion("school_remark in", values, "schoolRemark");
            return (Criteria) this;
        }

        public Criteria andSchoolRemarkNotIn(List<String> values) {
            addCriterion("school_remark not in", values, "schoolRemark");
            return (Criteria) this;
        }

        public Criteria andSchoolRemarkBetween(String value1, String value2) {
            addCriterion("school_remark between", value1, value2, "schoolRemark");
            return (Criteria) this;
        }

        public Criteria andSchoolRemarkNotBetween(String value1, String value2) {
            addCriterion("school_remark not between", value1, value2, "schoolRemark");
            return (Criteria) this;
        }

        public Criteria andLengthSchoolingIsNull() {
            addCriterion("length_schooling is null");
            return (Criteria) this;
        }

        public Criteria andLengthSchoolingIsNotNull() {
            addCriterion("length_schooling is not null");
            return (Criteria) this;
        }

        public Criteria andLengthSchoolingEqualTo(Integer value) {
            addCriterion("length_schooling =", value, "lengthSchooling");
            return (Criteria) this;
        }

        public Criteria andLengthSchoolingNotEqualTo(Integer value) {
            addCriterion("length_schooling <>", value, "lengthSchooling");
            return (Criteria) this;
        }

        public Criteria andLengthSchoolingGreaterThan(Integer value) {
            addCriterion("length_schooling >", value, "lengthSchooling");
            return (Criteria) this;
        }

        public Criteria andLengthSchoolingGreaterThanOrEqualTo(Integer value) {
            addCriterion("length_schooling >=", value, "lengthSchooling");
            return (Criteria) this;
        }

        public Criteria andLengthSchoolingLessThan(Integer value) {
            addCriterion("length_schooling <", value, "lengthSchooling");
            return (Criteria) this;
        }

        public Criteria andLengthSchoolingLessThanOrEqualTo(Integer value) {
            addCriterion("length_schooling <=", value, "lengthSchooling");
            return (Criteria) this;
        }

        public Criteria andLengthSchoolingIn(List<Integer> values) {
            addCriterion("length_schooling in", values, "lengthSchooling");
            return (Criteria) this;
        }

        public Criteria andLengthSchoolingNotIn(List<Integer> values) {
            addCriterion("length_schooling not in", values, "lengthSchooling");
            return (Criteria) this;
        }

        public Criteria andLengthSchoolingBetween(Integer value1, Integer value2) {
            addCriterion("length_schooling between", value1, value2, "lengthSchooling");
            return (Criteria) this;
        }

        public Criteria andLengthSchoolingNotBetween(Integer value1, Integer value2) {
            addCriterion("length_schooling not between", value1, value2, "lengthSchooling");
            return (Criteria) this;
        }

        public Criteria andTuitionIsNull() {
            addCriterion("tuition is null");
            return (Criteria) this;
        }

        public Criteria andTuitionIsNotNull() {
            addCriterion("tuition is not null");
            return (Criteria) this;
        }

        public Criteria andTuitionEqualTo(Integer value) {
            addCriterion("tuition =", value, "tuition");
            return (Criteria) this;
        }

        public Criteria andTuitionNotEqualTo(Integer value) {
            addCriterion("tuition <>", value, "tuition");
            return (Criteria) this;
        }

        public Criteria andTuitionGreaterThan(Integer value) {
            addCriterion("tuition >", value, "tuition");
            return (Criteria) this;
        }

        public Criteria andTuitionGreaterThanOrEqualTo(Integer value) {
            addCriterion("tuition >=", value, "tuition");
            return (Criteria) this;
        }

        public Criteria andTuitionLessThan(Integer value) {
            addCriterion("tuition <", value, "tuition");
            return (Criteria) this;
        }

        public Criteria andTuitionLessThanOrEqualTo(Integer value) {
            addCriterion("tuition <=", value, "tuition");
            return (Criteria) this;
        }

        public Criteria andTuitionIn(List<Integer> values) {
            addCriterion("tuition in", values, "tuition");
            return (Criteria) this;
        }

        public Criteria andTuitionNotIn(List<Integer> values) {
            addCriterion("tuition not in", values, "tuition");
            return (Criteria) this;
        }

        public Criteria andTuitionBetween(Integer value1, Integer value2) {
            addCriterion("tuition between", value1, value2, "tuition");
            return (Criteria) this;
        }

        public Criteria andTuitionNotBetween(Integer value1, Integer value2) {
            addCriterion("tuition not between", value1, value2, "tuition");
            return (Criteria) this;
        }

        public Criteria andLanguageLimitIsNull() {
            addCriterion("language_limit is null");
            return (Criteria) this;
        }

        public Criteria andLanguageLimitIsNotNull() {
            addCriterion("language_limit is not null");
            return (Criteria) this;
        }

        public Criteria andLanguageLimitEqualTo(String value) {
            addCriterion("language_limit =", value, "languageLimit");
            return (Criteria) this;
        }

        public Criteria andLanguageLimitNotEqualTo(String value) {
            addCriterion("language_limit <>", value, "languageLimit");
            return (Criteria) this;
        }

        public Criteria andLanguageLimitGreaterThan(String value) {
            addCriterion("language_limit >", value, "languageLimit");
            return (Criteria) this;
        }

        public Criteria andLanguageLimitGreaterThanOrEqualTo(String value) {
            addCriterion("language_limit >=", value, "languageLimit");
            return (Criteria) this;
        }

        public Criteria andLanguageLimitLessThan(String value) {
            addCriterion("language_limit <", value, "languageLimit");
            return (Criteria) this;
        }

        public Criteria andLanguageLimitLessThanOrEqualTo(String value) {
            addCriterion("language_limit <=", value, "languageLimit");
            return (Criteria) this;
        }

        public Criteria andLanguageLimitLike(String value) {
            addCriterion("language_limit like", value, "languageLimit");
            return (Criteria) this;
        }

        public Criteria andLanguageLimitNotLike(String value) {
            addCriterion("language_limit not like", value, "languageLimit");
            return (Criteria) this;
        }

        public Criteria andLanguageLimitIn(List<String> values) {
            addCriterion("language_limit in", values, "languageLimit");
            return (Criteria) this;
        }

        public Criteria andLanguageLimitNotIn(List<String> values) {
            addCriterion("language_limit not in", values, "languageLimit");
            return (Criteria) this;
        }

        public Criteria andLanguageLimitBetween(String value1, String value2) {
            addCriterion("language_limit between", value1, value2, "languageLimit");
            return (Criteria) this;
        }

        public Criteria andLanguageLimitNotBetween(String value1, String value2) {
            addCriterion("language_limit not between", value1, value2, "languageLimit");
            return (Criteria) this;
        }

        public Criteria andSexLimitIsNull() {
            addCriterion("sex_limit is null");
            return (Criteria) this;
        }

        public Criteria andSexLimitIsNotNull() {
            addCriterion("sex_limit is not null");
            return (Criteria) this;
        }

        public Criteria andSexLimitEqualTo(String value) {
            addCriterion("sex_limit =", value, "sexLimit");
            return (Criteria) this;
        }

        public Criteria andSexLimitNotEqualTo(String value) {
            addCriterion("sex_limit <>", value, "sexLimit");
            return (Criteria) this;
        }

        public Criteria andSexLimitGreaterThan(String value) {
            addCriterion("sex_limit >", value, "sexLimit");
            return (Criteria) this;
        }

        public Criteria andSexLimitGreaterThanOrEqualTo(String value) {
            addCriterion("sex_limit >=", value, "sexLimit");
            return (Criteria) this;
        }

        public Criteria andSexLimitLessThan(String value) {
            addCriterion("sex_limit <", value, "sexLimit");
            return (Criteria) this;
        }

        public Criteria andSexLimitLessThanOrEqualTo(String value) {
            addCriterion("sex_limit <=", value, "sexLimit");
            return (Criteria) this;
        }

        public Criteria andSexLimitLike(String value) {
            addCriterion("sex_limit like", value, "sexLimit");
            return (Criteria) this;
        }

        public Criteria andSexLimitNotLike(String value) {
            addCriterion("sex_limit not like", value, "sexLimit");
            return (Criteria) this;
        }

        public Criteria andSexLimitIn(List<String> values) {
            addCriterion("sex_limit in", values, "sexLimit");
            return (Criteria) this;
        }

        public Criteria andSexLimitNotIn(List<String> values) {
            addCriterion("sex_limit not in", values, "sexLimit");
            return (Criteria) this;
        }

        public Criteria andSexLimitBetween(String value1, String value2) {
            addCriterion("sex_limit between", value1, value2, "sexLimit");
            return (Criteria) this;
        }

        public Criteria andSexLimitNotBetween(String value1, String value2) {
            addCriterion("sex_limit not between", value1, value2, "sexLimit");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}